package com.byxy.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.byxy.dao.ForumDao;
import com.byxy.entity.Forum;
import com.byxy.service.ForumService;

@Service
@Transactional
public class ForumServiceImpl implements ForumService {
	
	@Autowired
	private ForumDao forumDao;
	
	@Override
	public List<Forum> findAll() {
		return forumDao.findAll();
	}

}
